﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TongTongMall.Runtime.Session;

namespace TongTongMall.MallWeb.Application.Configuration.Session
{
    public class NullMallWebSession : IMallWebSession
    {
        public static NullMallWebSession Instance { get { return SingletonInstance; } }
        private static readonly NullMallWebSession SingletonInstance = new NullMallWebSession();

        /// <inheritdoc/>
        public long? UserID { get { return null; } }

        /// <inheritdoc/>
        public long? TenantID { get { return null; } }



        public string UserName
        {
            get
            {
                return null;
            }
        }
        public string TenantName
        {
            get
            {
                return null;
            }
        }

        private NullMallWebSession()
        {

        }
        public string Platform
        {
            get
            {
                return null;
            }
        }


        public string UserNum
        {
            get
            {
                return null;
            }
        }

        public string SessionKey
        {
            get
            {
                return null;
            }
        }

        public int TicketVersion
        {
            get
            {
                return default(int);
            }
        }
    }
}
